Our goal was to update the PyE873 software in order to satisfy the request of Computing Service for the code freezing. There were two thighs to do: prepare a cmt package and use conda instead of the env.sh script. The software manages piezo-electric motors inside the AEI squeezer source and it is available here Git pye873.
The activity started on Friday 11th morning. At the beginning we moved three processes with prefix SQZ_PI_stage from the generic machine olserver113 to the one dedicated for SQZ olserver149. The processes are:
SQZ_PI_stage_2f - beam dumper
SQZ_PI_stage_pump - beam dumper
SQZ_PI_stage_Homodyne - mirror
During the test the laser light was present on EQB1_HD_CAM_FF, EQB1_HD_CAM_NF and EQB2_IR_Cam for reference in case the stages moved during the activity on the software.
Only the SQZ_PI_stage_Homodyne PI stage was monitored since it controls the position of a mirror.
Record for software developers: internal servo of the PI E-873 is not stable: sometimes it moves back and forth the actuator which may cause vibrations. That's why the in-loop operation must be turned off when the mirror is parked.
The first installation of the packaged returned:
Using 'default' alias ['farmn1']
---
Installation on farmn1
---
Versions defined in '/olusers/pm_user/.config/virgo_pm_versions.txt':
root:v5r34p051
FFTW:v3r3p30
VirgoPolicy:v2r6
CSet:v2r16
Cm:v8r12p5
Cbf:v4r13
Cfg:v8r06p2
Fr:v8r34
Fd:v8r27
Frv:v4r31
No standard version tags found for pye873 in version control repository
Exit request sent.
Connection to farmn1 closed.
We encountered two problems:
One with the access to the drivers which we solved with the help of Computing Service. We killed the process of another user which caused problems. The SQZ_PI_stage processes in VPM remained off.
The second one is that pipython dependency is not available in the conda environment. We have sent a request for adding it into the new version of the env.
Due to the fact that pye873.py software could not connect to the drivers, the position monitoring with light was meaningless.
The work has been continued on Monday 14th.
The pye873 package has been modified and successfully installed (it still depends on the manually installed pipython dependency). Version v1r0, v1r1 and v1r2 were installed. The output log of the last installation is:
PmInstall pye873
To work in the /virgoStaging area please type your \"bawaj\" login password:
Using 'default' alias ['farmn1']
---
Installation on farmn1
---
Versions defined in '/olusers/pm_user/.config/virgo_pm_versions.txt':
root:v5r34p051
FFTW:v3r3p30
VirgoPolicy:v2r6
CSet:v2r16
Cm:v8r12p5
Cbf:v4r13
Cfg:v8r06p2
Fr:v8r34
Fd:v8r27
Frv:v4r31
-> pye873 v1r2 (to be installed in /virgoApp)
Conda v2r1p0 is in /virgoApp
--------
pye873 checkout
--------
Cloning into 'v1r2'...
chgrp swmgr /virgoApp/pye873/v1r2
chgrp swmgr /virgoApp/pye873
--------
pye873 configuration
--------
Creating setup scripts.
Creating cleanup scripts.
--------
pye873 compilation
--------
#CMT---> Info: Execute action make => gmake bin=../Linux-x86_64-CL7/
#CMT---> (Makefile.header) Rebuilding ../Linux-x86_64-CL7/Linux-x86_64-CL7.make
#CMT---> (constituents.make) Rebuilding library links
#CMT---> (constituents.make) Building conda_exec.make
#CMT---> Info: Document conda_exec
#CMT---> Warning: Source file ../Linux-x86_64-CL7/bin/PyE873.py not found
#CMT---> (constituents.make) Starting conda_exec
/virgoApp/Conda/v2r1p0/scripts/generate_exec.sh: line 14: activate: No such file or directory
Using /virgo/conda/envs/cmt-conda-py39-20220317 conda environment
Creating /virgoApp/pye873/v1r2/Linux-x86_64-CL7/bin/PyE873-conda
#CMT---> (constituents.make) conda_exec done
#CMT---> all ok.
--------
Make built files read only
--------
chgrp swmgr /virgoApp/pye873/v1r2/Linux-x86_64-CL7
chgrp swmgr /virgoApp/pye873/v1r2/cmt
chgrp swmgr /virgoApp/pye873/v1r2/cfg
chgrp swmgr /virgoApp/pye873/v1r2/src
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/.gitlab-ci.yml
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/Linux-x86_64-CL7-incomplete
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/README.md
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/.gitignore
chgrp swmgr /virgoApp/pye873/v1r2/Linux-x86_64-CL7/bin
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/Linux-x86_64-CL7/constituents.make
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/Linux-x86_64-CL7/conda_exec.make
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/Linux-x86_64-CL7/Linux-x86_64-CL7.make
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/Linux-x86_64-CL7/setup.make
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/Linux-x86_64-CL7/make.in
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/Linux-x86_64-CL7/cmt_build_library_links.stamp
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/Linux-x86_64-CL7/conda_exec.in
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/Linux-x86_64-CL7/library_links.in
chmod 0o555 chgrp swmgr /virgoApp/pye873/v1r2/Linux-x86_64-CL7/bin/PyE873-conda
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/cmt/cleanup.sh
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/cmt/cleanup.csh
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/cmt/requirements
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/cmt/Makefile
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/cmt/setup.sh
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/cmt/setup.csh
chmod 0o444 chgrp swmgr /virgoApp/pye873/v1r2/cfg/PiPythonDriver.cfg
chmod 0o555 chgrp swmgr /virgoApp/pye873/v1r2/cfg/config.ini
chgrp swmgr /virgoApp/pye873/v1r2/src/lib
chmod 0o555 chgrp swmgr /virgoApp/pye873/v1r2/src/PyE873.py
chmod 0o555 chgrp swmgr /virgoApp/pye873/v1r2/src/lib/libpi_pi_gcs2.so
chmod 0o555 chgrp swmgr /virgoApp/pye873/v1r2/src/lib/libicui18n.so.30.0
chmod 0o555 chgrp swmgr /virgoApp/pye873/v1r2/src/lib/libpi_pi_gcs2.so.3.8.0
chmod 0o555 chgrp swmgr /virgoApp/pye873/v1r2/src/lib/libpi_gcs_translator.so.1.8.0
chmod 0o555 chgrp swmgr /virgoApp/pye873/v1r2/src/lib/libicudata.so.30.0
chmod 0o555 chgrp swmgr /virgoApp/pye873/v1r2/src/lib/libfbclient.so.2.5.3
chmod 0o555 chgrp swmgr /virgoApp/pye873/v1r2/src/lib/libib_util.so
chmod 0o555 chgrp swmgr /virgoApp/pye873/v1r2/src/lib/libpi_pi_gcs2-3.8.0.a
chmod 0o555 chgrp swmgr /virgoApp/pye873/v1r2/src/lib/libicuuc.so.30.0
chmod 0o555 chgrp swmgr /virgoApp/pye873/v1r2/src/lib/libfbembed.so.2.5.3
chmod 0o555 chgrp swmgr /virgoApp/pye873/v1r2/src/lib/libwxPIGraph3D.so.1.1.2
Exit request sent.
Connection to farmn1 closed.
Version v1r0 and v1r1 are not functional and should be removed. This action will be asked to the Computing.
We performed a test of the newly installed version on the SQZ_PI_stage_2f process. The other two SQZ_PI_stage processes are still running the not frozen version of the code.